//
// NeL - bindings
// Copyright (C) 2010 Naush
//
//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU Affero General Public License as
//published by the Free Software Foundation, either version 3 of the
//License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU Affero General Public License for more details.
//
//You should have received a copy of the GNU Affero General Public License
//along with this program.  If not, see <http://www.gnu.org/licenses/>.
package org.ryzom.nel.misc;

public class CSString {
  private long swigCPtr;
  protected boolean swigCMemOwn;

  public CSString(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  public static long getCPtr(CSString obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        nelmiscJNI.delete_CSString(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public CSString() {
    this(nelmiscJNI.new_CSString__SWIG_0(), true);
  }

  public CSString(String s) {
    this(nelmiscJNI.new_CSString__SWIG_1(s), true);
  }

  public CSString(char c) {
    this(nelmiscJNI.new_CSString__SWIG_3(c), true);
  }

  public CSString(int i, String fmt) {
    this(nelmiscJNI.new_CSString__SWIG_4(i, fmt), true);
  }

  public CSString(int i) {
    this(nelmiscJNI.new_CSString__SWIG_5(i), true);
  }

  public CSString(long u, String fmt) {
    this(nelmiscJNI.new_CSString__SWIG_6(u, fmt), true);
  }

  public CSString(long u) {
    this(nelmiscJNI.new_CSString__SWIG_7(u), true);
  }

  public CSString(double d, String fmt) {
    this(nelmiscJNI.new_CSString__SWIG_8(d, fmt), true);
  }

  public CSString(double d) {
    this(nelmiscJNI.new_CSString__SWIG_9(d), true);
  }

  public CSString(String s, String fmt) {
    this(nelmiscJNI.new_CSString__SWIG_10(s, fmt), true);
  }

  public CSString(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t v, String separator) {
    this(nelmiscJNI.new_CSString__SWIG_12(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(v), separator), true);
  }

  public CSString(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t v) {
    this(nelmiscJNI.new_CSString__SWIG_13(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(v)), true);
  }

  public char __ref__() {
    return nelmiscJNI.CSString___ref__(swigCPtr, this);
  }

  public char back() {
    return nelmiscJNI.CSString_back(swigCPtr, this);
  }

  public CSString left(long count) {
    return new CSString(nelmiscJNI.CSString_left(swigCPtr, this, count), true);
  }

  public CSString right(long count) {
    return new CSString(nelmiscJNI.CSString_right(swigCPtr, this, count), true);
  }

  public CSString leftCrop(long count) {
    return new CSString(nelmiscJNI.CSString_leftCrop(swigCPtr, this, count), true);
  }

  public CSString rightCrop(long count) {
    return new CSString(nelmiscJNI.CSString_rightCrop(swigCPtr, this, count), true);
  }

  public CSString splitToWithIterator(char c, SWIGTYPE_p_unsigned_int iterator) {
    return new CSString(nelmiscJNI.CSString_splitToWithIterator(swigCPtr, this, c, SWIGTYPE_p_unsigned_int.getCPtr(iterator)), true);
  }

  public CSString splitTo(char c) {
    return new CSString(nelmiscJNI.CSString_splitTo__SWIG_0(swigCPtr, this, c), true);
  }

  public CSString splitTo(char c, boolean truncateThis, boolean absorbSeparator) {
    return new CSString(nelmiscJNI.CSString_splitTo__SWIG_1(swigCPtr, this, c, truncateThis, absorbSeparator), true);
  }

  public CSString splitTo(char c, boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_splitTo__SWIG_2(swigCPtr, this, c, truncateThis), true);
  }

  public CSString splitTo(String s, boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_splitTo__SWIG_4(swigCPtr, this, s, truncateThis), true);
  }

  public CSString splitTo(String s) {
    return new CSString(nelmiscJNI.CSString_splitTo__SWIG_5(swigCPtr, this, s), true);
  }

  public CSString splitToLineComment(boolean truncateThis, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToLineComment__SWIG_0(swigCPtr, this, truncateThis, useSlashStringEscape), true);
  }

  public CSString splitToLineComment(boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_splitToLineComment__SWIG_1(swigCPtr, this, truncateThis), true);
  }

  public CSString splitToLineComment() {
    return new CSString(nelmiscJNI.CSString_splitToLineComment__SWIG_2(swigCPtr, this), true);
  }

  public CSString splitFrom(char c) {
    return new CSString(nelmiscJNI.CSString_splitFrom__SWIG_0(swigCPtr, this, c), true);
  }

  public CSString splitFrom(String s) {
    return new CSString(nelmiscJNI.CSString_splitFrom__SWIG_1(swigCPtr, this, s), true);
  }

  public CSString strtok(String separators, boolean useSmartExtensions, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_strtok__SWIG_0(swigCPtr, this, separators, useSmartExtensions, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString strtok(String separators, boolean useSmartExtensions, boolean useAngleBrace, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_strtok__SWIG_1(swigCPtr, this, separators, useSmartExtensions, useAngleBrace, useSlashStringEscape), true);
  }

  public CSString strtok(String separators, boolean useSmartExtensions, boolean useAngleBrace) {
    return new CSString(nelmiscJNI.CSString_strtok__SWIG_2(swigCPtr, this, separators, useSmartExtensions, useAngleBrace), true);
  }

  public CSString strtok(String separators, boolean useSmartExtensions) {
    return new CSString(nelmiscJNI.CSString_strtok__SWIG_3(swigCPtr, this, separators, useSmartExtensions), true);
  }

  public CSString strtok(String separators) {
    return new CSString(nelmiscJNI.CSString_strtok__SWIG_4(swigCPtr, this, separators), true);
  }

  public CSString firstWord(boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_firstWord__SWIG_0(swigCPtr, this, truncateThis), true);
  }

  public CSString firstWord() {
    return new CSString(nelmiscJNI.CSString_firstWord__SWIG_1(swigCPtr, this), true);
  }

  public CSString firstWordConst() {
    return new CSString(nelmiscJNI.CSString_firstWordConst(swigCPtr, this), true);
  }

  public CSString tailFromFirstWord() {
    return new CSString(nelmiscJNI.CSString_tailFromFirstWord(swigCPtr, this), true);
  }

  public long countWords() {
    return nelmiscJNI.CSString_countWords(swigCPtr, this);
  }

  public CSString word(long idx) {
    return new CSString(nelmiscJNI.CSString_word(swigCPtr, this, idx), true);
  }

  public CSString firstWordOrWords(boolean truncateThis, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_firstWordOrWords__SWIG_0(swigCPtr, this, truncateThis, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString firstWordOrWords(boolean truncateThis, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_firstWordOrWords__SWIG_1(swigCPtr, this, truncateThis, useSlashStringEscape), true);
  }

  public CSString firstWordOrWords(boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_firstWordOrWords__SWIG_2(swigCPtr, this, truncateThis), true);
  }

  public CSString firstWordOrWords() {
    return new CSString(nelmiscJNI.CSString_firstWordOrWords__SWIG_3(swigCPtr, this), true);
  }

  public CSString firstWordOrWordsConst(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_firstWordOrWordsConst__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString firstWordOrWordsConst(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_firstWordOrWordsConst__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString firstWordOrWordsConst() {
    return new CSString(nelmiscJNI.CSString_firstWordOrWordsConst__SWIG_2(swigCPtr, this), true);
  }

  public CSString tailFromFirstWordOrWords(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_tailFromFirstWordOrWords__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString tailFromFirstWordOrWords(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_tailFromFirstWordOrWords__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString tailFromFirstWordOrWords() {
    return new CSString(nelmiscJNI.CSString_tailFromFirstWordOrWords__SWIG_2(swigCPtr, this), true);
  }

  public long countWordOrWords(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_countWordOrWords__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public long countWordOrWords(boolean useSlashStringEscape) {
    return nelmiscJNI.CSString_countWordOrWords__SWIG_1(swigCPtr, this, useSlashStringEscape);
  }

  public long countWordOrWords() {
    return nelmiscJNI.CSString_countWordOrWords__SWIG_2(swigCPtr, this);
  }

  public CSString wordOrWords(long idx, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_wordOrWords__SWIG_0(swigCPtr, this, idx, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString wordOrWords(long idx, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_wordOrWords__SWIG_1(swigCPtr, this, idx, useSlashStringEscape), true);
  }

  public CSString wordOrWords(long idx) {
    return new CSString(nelmiscJNI.CSString_wordOrWords__SWIG_2(swigCPtr, this, idx), true);
  }

  public CSString firstLine(boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_firstLine__SWIG_0(swigCPtr, this, truncateThis), true);
  }

  public CSString firstLine() {
    return new CSString(nelmiscJNI.CSString_firstLine__SWIG_1(swigCPtr, this), true);
  }

  public CSString firstLineConst() {
    return new CSString(nelmiscJNI.CSString_firstLineConst(swigCPtr, this), true);
  }

  public CSString tailFromFirstLine() {
    return new CSString(nelmiscJNI.CSString_tailFromFirstLine(swigCPtr, this), true);
  }

  public long countLines() {
    return nelmiscJNI.CSString_countLines(swigCPtr, this);
  }

  public CSString line(long idx) {
    return new CSString(nelmiscJNI.CSString_line(swigCPtr, this, idx), true);
  }

  public static boolean isWhiteSpace(char c) {
    return nelmiscJNI.CSString_isWhiteSpace(c);
  }

  public static boolean isOpeningDelimiter(char c, boolean useAngleBrace) {
    return nelmiscJNI.CSString_isOpeningDelimiter__SWIG_0(c, useAngleBrace);
  }

  public static boolean isOpeningDelimiter(char c) {
    return nelmiscJNI.CSString_isOpeningDelimiter__SWIG_1(c);
  }

  public static boolean isClosingDelimiter(char c, boolean useAngleBrace) {
    return nelmiscJNI.CSString_isClosingDelimiter__SWIG_0(c, useAngleBrace);
  }

  public static boolean isClosingDelimiter(char c) {
    return nelmiscJNI.CSString_isClosingDelimiter__SWIG_1(c);
  }

  public static boolean isStringDelimiter(char c) {
    return nelmiscJNI.CSString_isStringDelimiter(c);
  }

  public static boolean isMatchingDelimiter(char a, char b) {
    return nelmiscJNI.CSString_isMatchingDelimiter(a, b);
  }

  public static boolean isValidFileNameChar(char c) {
    return nelmiscJNI.CSString_isValidFileNameChar(c);
  }

  public static boolean isValidKeywordFirstChar(char c) {
    return nelmiscJNI.CSString_isValidKeywordFirstChar(c);
  }

  public static boolean isValidKeywordChar(char c) {
    return nelmiscJNI.CSString_isValidKeywordChar(c);
  }

  public static boolean isPrintable(char c) {
    return nelmiscJNI.CSString_isPrintable(c);
  }

  public static boolean isHexDigit(char c) {
    return nelmiscJNI.CSString_isHexDigit(c);
  }

  public static char convertHexDigit(char c) {
    return nelmiscJNI.CSString_convertHexDigit(c);
  }

  public boolean isValidText() {
    return nelmiscJNI.CSString_isValidText(swigCPtr, this);
  }

  public boolean isValidFileName() {
    return nelmiscJNI.CSString_isValidFileName(swigCPtr, this);
  }

  public boolean isValidUnquotedFileName() {
    return nelmiscJNI.CSString_isValidUnquotedFileName(swigCPtr, this);
  }

  public boolean isValidKeyword() {
    return nelmiscJNI.CSString_isValidKeyword(swigCPtr, this);
  }

  public boolean isQuoted(boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_isQuoted__SWIG_0(swigCPtr, this, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public boolean isQuoted(boolean useAngleBrace, boolean useSlashStringEscape) {
    return nelmiscJNI.CSString_isQuoted__SWIG_1(swigCPtr, this, useAngleBrace, useSlashStringEscape);
  }

  public boolean isQuoted(boolean useAngleBrace) {
    return nelmiscJNI.CSString_isQuoted__SWIG_2(swigCPtr, this, useAngleBrace);
  }

  public boolean isQuoted() {
    return nelmiscJNI.CSString_isQuoted__SWIG_3(swigCPtr, this);
  }

  public long findMatchingDelimiterPos(boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, long startPos) {
    return nelmiscJNI.CSString_findMatchingDelimiterPos__SWIG_0(swigCPtr, this, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, startPos);
  }

  public long findMatchingDelimiterPos(boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_findMatchingDelimiterPos__SWIG_1(swigCPtr, this, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public CSString matchDelimiters(boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_matchDelimiters__SWIG_0(swigCPtr, this, truncateThis, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString matchDelimiters(boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_matchDelimiters__SWIG_1(swigCPtr, this, truncateThis, useAngleBrace, useSlashStringEscape), true);
  }

  public CSString matchDelimiters(boolean truncateThis, boolean useAngleBrace) {
    return new CSString(nelmiscJNI.CSString_matchDelimiters__SWIG_2(swigCPtr, this, truncateThis, useAngleBrace), true);
  }

  public CSString matchDelimiters(boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_matchDelimiters__SWIG_3(swigCPtr, this, truncateThis), true);
  }

  public CSString matchDelimiters() {
    return new CSString(nelmiscJNI.CSString_matchDelimiters__SWIG_4(swigCPtr, this), true);
  }

  public CSString splitToStringSeparator(char separator, boolean truncateThis, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean truncateSeparatorCharacter) {
    return new CSString(nelmiscJNI.CSString_splitToStringSeparator__SWIG_0(swigCPtr, this, separator, truncateThis, useSlashStringEscape, useRepeatQuoteStringEscape, truncateSeparatorCharacter), true);
  }

  public CSString splitToStringSeparator(char separator, boolean truncateThis, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToStringSeparator__SWIG_1(swigCPtr, this, separator, truncateThis, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString splitToStringSeparator(char separator, boolean truncateThis, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToStringSeparator__SWIG_2(swigCPtr, this, separator, truncateThis, useSlashStringEscape), true);
  }

  public CSString splitToStringSeparator(char separator, boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_splitToStringSeparator__SWIG_3(swigCPtr, this, separator, truncateThis), true);
  }

  public CSString splitToStringSeparator(char separator) {
    return new CSString(nelmiscJNI.CSString_splitToStringSeparator__SWIG_4(swigCPtr, this, separator), true);
  }

  public CSString splitToSeparator(char separator, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean truncateSeparatorCharacter) {
    return new CSString(nelmiscJNI.CSString_splitToSeparator__SWIG_0(swigCPtr, this, separator, truncateThis, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, truncateSeparatorCharacter), true);
  }

  public CSString splitToSeparator(char separator, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToSeparator__SWIG_1(swigCPtr, this, separator, truncateThis, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString splitToSeparator(char separator, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToSeparator__SWIG_2(swigCPtr, this, separator, truncateThis, useAngleBrace, useSlashStringEscape), true);
  }

  public CSString splitToSeparator(char separator, boolean truncateThis, boolean useAngleBrace) {
    return new CSString(nelmiscJNI.CSString_splitToSeparator__SWIG_3(swigCPtr, this, separator, truncateThis, useAngleBrace), true);
  }

  public CSString splitToSeparator(char separator, boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_splitToSeparator__SWIG_4(swigCPtr, this, separator, truncateThis), true);
  }

  public CSString splitToSeparator(char separator) {
    return new CSString(nelmiscJNI.CSString_splitToSeparator__SWIG_5(swigCPtr, this, separator), true);
  }

  public CSString splitToOneOfSeparators(CSString separators, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean truncateSeparatorCharacter, boolean splitStringAtBrackets) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_0(swigCPtr, this, CSString.getCPtr(separators), separators, truncateThis, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, truncateSeparatorCharacter, splitStringAtBrackets), true);
  }

  public CSString splitToOneOfSeparators(CSString separators, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean truncateSeparatorCharacter) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_1(swigCPtr, this, CSString.getCPtr(separators), separators, truncateThis, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, truncateSeparatorCharacter), true);
  }

  public CSString splitToOneOfSeparators(CSString separators, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_2(swigCPtr, this, CSString.getCPtr(separators), separators, truncateThis, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString splitToOneOfSeparators(CSString separators, boolean truncateThis, boolean useAngleBrace, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_3(swigCPtr, this, CSString.getCPtr(separators), separators, truncateThis, useAngleBrace, useSlashStringEscape), true);
  }

  public CSString splitToOneOfSeparators(CSString separators, boolean truncateThis, boolean useAngleBrace) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_4(swigCPtr, this, CSString.getCPtr(separators), separators, truncateThis, useAngleBrace), true);
  }

  public CSString splitToOneOfSeparators(CSString separators, boolean truncateThis) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_5(swigCPtr, this, CSString.getCPtr(separators), separators, truncateThis), true);
  }

  public CSString splitToOneOfSeparators(CSString separators) {
    return new CSString(nelmiscJNI.CSString_splitToOneOfSeparators__SWIG_6(swigCPtr, this, CSString.getCPtr(separators), separators), true);
  }

  public boolean isDelimitedMonoBlock(boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_isDelimitedMonoBlock__SWIG_0(swigCPtr, this, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public boolean isDelimitedMonoBlock(boolean useAngleBrace, boolean useSlashStringEscape) {
    return nelmiscJNI.CSString_isDelimitedMonoBlock__SWIG_1(swigCPtr, this, useAngleBrace, useSlashStringEscape);
  }

  public boolean isDelimitedMonoBlock(boolean useAngleBrace) {
    return nelmiscJNI.CSString_isDelimitedMonoBlock__SWIG_2(swigCPtr, this, useAngleBrace);
  }

  public boolean isDelimitedMonoBlock() {
    return nelmiscJNI.CSString_isDelimitedMonoBlock__SWIG_3(swigCPtr, this);
  }

  public CSString stripBlockDelimiters(boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_stripBlockDelimiters__SWIG_0(swigCPtr, this, useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString stripBlockDelimiters(boolean useAngleBrace, boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_stripBlockDelimiters__SWIG_1(swigCPtr, this, useAngleBrace, useSlashStringEscape), true);
  }

  public CSString stripBlockDelimiters(boolean useAngleBrace) {
    return new CSString(nelmiscJNI.CSString_stripBlockDelimiters__SWIG_2(swigCPtr, this, useAngleBrace), true);
  }

  public CSString stripBlockDelimiters() {
    return new CSString(nelmiscJNI.CSString_stripBlockDelimiters__SWIG_3(swigCPtr, this), true);
  }

  public boolean splitWords(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result) {
    return nelmiscJNI.CSString_splitWords(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result));
  }

  public boolean splitWordOrWords(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_splitWordOrWords__SWIG_0(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public boolean splitWordOrWords(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useSlashStringEscape) {
    return nelmiscJNI.CSString_splitWordOrWords__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useSlashStringEscape);
  }

  public boolean splitWordOrWords(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result) {
    return nelmiscJNI.CSString_splitWordOrWords__SWIG_2(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result));
  }

  public boolean splitLines(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result) {
    return nelmiscJNI.CSString_splitLines(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result));
  }

  public boolean splitBySeparator(char separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean skipBlankEntries) {
    return nelmiscJNI.CSString_splitBySeparator__SWIG_0(swigCPtr, this, separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, skipBlankEntries);
  }

  public boolean splitBySeparator(char separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_splitBySeparator__SWIG_1(swigCPtr, this, separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public boolean splitBySeparator(char separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape) {
    return nelmiscJNI.CSString_splitBySeparator__SWIG_2(swigCPtr, this, separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape);
  }

  public boolean splitBySeparator(char separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace) {
    return nelmiscJNI.CSString_splitBySeparator__SWIG_3(swigCPtr, this, separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace);
  }

  public boolean splitBySeparator(char separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result) {
    return nelmiscJNI.CSString_splitBySeparator__SWIG_4(swigCPtr, this, separator, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result));
  }

  public boolean splitByOneOfSeparators(CSString separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean retainSeparators, boolean skipBlankEntries) {
    return nelmiscJNI.CSString_splitByOneOfSeparators__SWIG_0(swigCPtr, this, CSString.getCPtr(separators), separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, retainSeparators, skipBlankEntries);
  }

  public boolean splitByOneOfSeparators(CSString separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape, boolean retainSeparators) {
    return nelmiscJNI.CSString_splitByOneOfSeparators__SWIG_1(swigCPtr, this, CSString.getCPtr(separators), separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape, retainSeparators);
  }

  public boolean splitByOneOfSeparators(CSString separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return nelmiscJNI.CSString_splitByOneOfSeparators__SWIG_2(swigCPtr, this, CSString.getCPtr(separators), separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape, useRepeatQuoteStringEscape);
  }

  public boolean splitByOneOfSeparators(CSString separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace, boolean useSlashStringEscape) {
    return nelmiscJNI.CSString_splitByOneOfSeparators__SWIG_3(swigCPtr, this, CSString.getCPtr(separators), separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace, useSlashStringEscape);
  }

  public boolean splitByOneOfSeparators(CSString separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result, boolean useAngleBrace) {
    return nelmiscJNI.CSString_splitByOneOfSeparators__SWIG_4(swigCPtr, this, CSString.getCPtr(separators), separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result), useAngleBrace);
  }

  public boolean splitByOneOfSeparators(CSString separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t result) {
    return nelmiscJNI.CSString_splitByOneOfSeparators__SWIG_5(swigCPtr, this, CSString.getCPtr(separators), separators, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(result));
  }

  public CSString join(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t strings, CSString separator) {
    return new CSString(nelmiscJNI.CSString_join__SWIG_0(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(strings), CSString.getCPtr(separator), separator), false);
  }

  public CSString join(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t strings) {
    return new CSString(nelmiscJNI.CSString_join__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(strings)), false);
  }

  public CSString join(SWIGTYPE_p_std__vectorT_NLMISC__CSString_t strings, char separator) {
    return new CSString(nelmiscJNI.CSString_join__SWIG_2(swigCPtr, this, SWIGTYPE_p_std__vectorT_NLMISC__CSString_t.getCPtr(strings), separator), false);
  }

  public CSString strip() {
    return new CSString(nelmiscJNI.CSString_strip(swigCPtr, this), true);
  }

  public CSString leftStrip() {
    return new CSString(nelmiscJNI.CSString_leftStrip(swigCPtr, this), true);
  }

  public CSString rightStrip() {
    return new CSString(nelmiscJNI.CSString_rightStrip(swigCPtr, this), true);
  }

  public CSString toUpper() {
    return new CSString(nelmiscJNI.CSString_toUpper(swigCPtr, this), true);
  }

  public CSString toLower() {
    return new CSString(nelmiscJNI.CSString_toLower(swigCPtr, this), true);
  }

  public CSString quote(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_quote__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString quote(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_quote__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString quote() {
    return new CSString(nelmiscJNI.CSString_quote__SWIG_2(swigCPtr, this), true);
  }

  public CSString quoteIfNotQuoted(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_quoteIfNotQuoted__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString quoteIfNotQuoted(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_quoteIfNotQuoted__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString quoteIfNotQuoted() {
    return new CSString(nelmiscJNI.CSString_quoteIfNotQuoted__SWIG_2(swigCPtr, this), true);
  }

  public CSString quoteIfNotAtomic(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_quoteIfNotAtomic__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString quoteIfNotAtomic(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_quoteIfNotAtomic__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString quoteIfNotAtomic() {
    return new CSString(nelmiscJNI.CSString_quoteIfNotAtomic__SWIG_2(swigCPtr, this), true);
  }

  public CSString unquote(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_unquote__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString unquote(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_unquote__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString unquote() {
    return new CSString(nelmiscJNI.CSString_unquote__SWIG_2(swigCPtr, this), true);
  }

  public CSString unquoteIfQuoted(boolean useSlashStringEscape, boolean useRepeatQuoteStringEscape) {
    return new CSString(nelmiscJNI.CSString_unquoteIfQuoted__SWIG_0(swigCPtr, this, useSlashStringEscape, useRepeatQuoteStringEscape), true);
  }

  public CSString unquoteIfQuoted(boolean useSlashStringEscape) {
    return new CSString(nelmiscJNI.CSString_unquoteIfQuoted__SWIG_1(swigCPtr, this, useSlashStringEscape), true);
  }

  public CSString unquoteIfQuoted() {
    return new CSString(nelmiscJNI.CSString_unquoteIfQuoted__SWIG_2(swigCPtr, this), true);
  }

  public CSString encodeXML(boolean isParameter) {
    return new CSString(nelmiscJNI.CSString_encodeXML__SWIG_0(swigCPtr, this, isParameter), true);
  }

  public CSString encodeXML() {
    return new CSString(nelmiscJNI.CSString_encodeXML__SWIG_1(swigCPtr, this), true);
  }

  public CSString decodeXML() {
    return new CSString(nelmiscJNI.CSString_decodeXML(swigCPtr, this), true);
  }

  public boolean isEncodedXML() {
    return nelmiscJNI.CSString_isEncodedXML(swigCPtr, this);
  }

  public boolean isXMLCompatible(boolean isParameter) {
    return nelmiscJNI.CSString_isXMLCompatible__SWIG_0(swigCPtr, this, isParameter);
  }

  public boolean isXMLCompatible() {
    return nelmiscJNI.CSString_isXMLCompatible__SWIG_1(swigCPtr, this);
  }

  public CSString replace(String toFind, String replacement) {
    return new CSString(nelmiscJNI.CSString_replace(swigCPtr, this, toFind, replacement), true);
  }

  public SWIGTYPE_p_std__string__size_type find(String toFind, SWIGTYPE_p_std__string__size_type startLocation) {
    return new SWIGTYPE_p_std__string__size_type(nelmiscJNI.CSString_find__SWIG_0(swigCPtr, this, toFind, SWIGTYPE_p_std__string__size_type.getCPtr(startLocation)), true);
  }

  public SWIGTYPE_p_std__string__size_type find(String toFind) {
    return new SWIGTYPE_p_std__string__size_type(nelmiscJNI.CSString_find__SWIG_1(swigCPtr, this, toFind), true);
  }

  public SWIGTYPE_p_std__string__size_type findNS(String toFind, SWIGTYPE_p_std__string__size_type startLocation) {
    return new SWIGTYPE_p_std__string__size_type(nelmiscJNI.CSString_findNS__SWIG_0(swigCPtr, this, toFind, SWIGTYPE_p_std__string__size_type.getCPtr(startLocation)), true);
  }

  public SWIGTYPE_p_std__string__size_type findNS(String toFind) {
    return new SWIGTYPE_p_std__string__size_type(nelmiscJNI.CSString_findNS__SWIG_1(swigCPtr, this, toFind), true);
  }

  public boolean contains(String toFind) {
    return nelmiscJNI.CSString_contains__SWIG_0(swigCPtr, this, toFind);
  }

  public boolean contains(int character) {
    return nelmiscJNI.CSString_contains__SWIG_1(swigCPtr, this, character);
  }

  public int atoi() {
    return nelmiscJNI.CSString_atoi(swigCPtr, this);
  }

  public int atosi() {
    return nelmiscJNI.CSString_atosi(swigCPtr, this);
  }

  public long atoui() {
    return nelmiscJNI.CSString_atoui(swigCPtr, this);
  }

  public long atoi64() {
    return nelmiscJNI.CSString_atoi64(swigCPtr, this);
  }

  public long atosi64() {
    return nelmiscJNI.CSString_atosi64(swigCPtr, this);
  }

  public java.math.BigInteger atoui64() {
    return nelmiscJNI.CSString_atoui64(swigCPtr, this);
  }

  public double atof() {
    return nelmiscJNI.CSString_atof(swigCPtr, this);
  }

  public CSString assign(String s) {
    return new CSString(nelmiscJNI.CSString_assign__SWIG_0(swigCPtr, this, s), false);
  }

  public CSString assign(char c) {
    return new CSString(nelmiscJNI.CSString_assign__SWIG_2(swigCPtr, this, c), false);
  }

  public CSString assign(int i) {
    return new CSString(nelmiscJNI.CSString_assign__SWIG_3(swigCPtr, this, i), false);
  }

  public CSString assign(long u) {
    return new CSString(nelmiscJNI.CSString_assign__SWIG_4(swigCPtr, this, u), false);
  }

  public CSString assign(double d) {
    return new CSString(nelmiscJNI.CSString_assign__SWIG_5(swigCPtr, this, d), false);
  }

  public boolean isEqual(CSString other) {
    return nelmiscJNI.CSString_isEqual__SWIG_0(swigCPtr, this, CSString.getCPtr(other), other);
  }

  public boolean isEqual(String other) {
    return nelmiscJNI.CSString_isEqual__SWIG_1(swigCPtr, this, other);
  }

  public boolean notEqual(CSString other) {
    return nelmiscJNI.CSString_notEqual__SWIG_0(swigCPtr, this, CSString.getCPtr(other), other);
  }

  public boolean notEqual(String other) {
    return nelmiscJNI.CSString_notEqual__SWIG_1(swigCPtr, this, other);
  }

  public boolean lte(CSString other) {
    return nelmiscJNI.CSString_lte__SWIG_0(swigCPtr, this, CSString.getCPtr(other), other);
  }

  public boolean lte(String other) {
    return nelmiscJNI.CSString_lte__SWIG_1(swigCPtr, this, other);
  }

  public boolean gte(CSString other) {
    return nelmiscJNI.CSString_gte__SWIG_0(swigCPtr, this, CSString.getCPtr(other), other);
  }

  public boolean gte(String other) {
    return nelmiscJNI.CSString_gte__SWIG_1(swigCPtr, this, other);
  }

  public boolean gt(CSString other) {
    return nelmiscJNI.CSString_gt__SWIG_0(swigCPtr, this, CSString.getCPtr(other), other);
  }

  public boolean gt(String other) {
    return nelmiscJNI.CSString_gt__SWIG_1(swigCPtr, this, other);
  }

  public boolean lt(CSString other) {
    return nelmiscJNI.CSString_lt__SWIG_0(swigCPtr, this, CSString.getCPtr(other), other);
  }

  public boolean lt(String other) {
    return nelmiscJNI.CSString_lt__SWIG_1(swigCPtr, this, other);
  }

  public boolean icompare(String other) {
    return nelmiscJNI.CSString_icompare(swigCPtr, this, other);
  }

  public void serial(IStream s) {
    nelmiscJNI.CSString_serial(swigCPtr, this, IStream.getCPtr(s), s);
  }

  public boolean readFromFile(CSString fileName) {
    return nelmiscJNI.CSString_readFromFile(swigCPtr, this, CSString.getCPtr(fileName), fileName);
  }

  public boolean writeToFile(CSString fileName) {
    return nelmiscJNI.CSString_writeToFile(swigCPtr, this, CSString.getCPtr(fileName), fileName);
  }

  public boolean writeToFileIfDifferent(CSString fileName) {
    return nelmiscJNI.CSString_writeToFileIfDifferent(swigCPtr, this, CSString.getCPtr(fileName), fileName);
  }

}
